<HTML>
<HEAD>
<title>Atomic.Long.getAndAdd - </title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">org.mapdb</a>&nbsp;/&nbsp;<a href="../index.html">Atomic</a>&nbsp;/&nbsp;<a href="index.html">Long</a>&nbsp;/&nbsp;<a href=".">getAndAdd</a><br/>
<br/>
<h1>getAndAdd</h1>
<a name="org.mapdb.Atomic.Long$getAndAdd(kotlin.Long)"></a>
<code><span class="keyword">fun </span><span class="identifier">getAndAdd</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.Atomic.Long$getAndAdd(kotlin.Long)/delta">delta</span><span class="symbol">:</span>&nbsp;<span class="identifier">Long</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Long</span></code><br/>
<p>Atomically adds the given value to the current value. </p>
<h3>Parameters</h3>
<a name="delta"></a>
<code>delta</code> - the value to add <br/>
<p><strong>Return</strong><br/>
the previous value</p>
<br/>
<br/>
</BODY>
</HTML>
